package com.xs.shop.marketing.model.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class CouponInfoVO {

    /**
     * ID
     */
    private Long id;

    /**
     * 优惠券名称
     */
    private String name;

    /**
     * 类型 1:满减券 2:折扣券 3:无门槛券
     */
    private Integer type;

    /**
     * 优惠金额/折扣比例
     */
    private BigDecimal amount;

    /**
     * 使用门槛
     */
    private BigDecimal minPoint;

    private String useLimit;

    private LocalDateTime startTime;

    private String startTimeStr;

    private LocalDateTime endTime;

    private String endTimeStr;

    /**
     * 状态 0:未开始 1:进行中 2:已结束
     */
    private Integer status;

    /**
     * 备注
     */
    private String description;
}
